package com.sxhuayuan.parking.plugin.parking.dao_er.request;

import com.sxhuayuan.parking.exception.SystemException;

import javax.validation.constraints.NotNull;

/**
 * 入场无牌车或者出场无牌车及获取岗亭端车牌识别车牌及缴费信息
 * @author 何龙笼
 * @date 2019-07-15 11:42
 */
public class DaoerQueryLeavingCarParkingFeeRequestData extends DaoerBaseRequest{


	/** 用户编号唯一 微信openid 或支付宝userid */
	@NotNull
	private String userId;

	/**  出入口编号:此值可在 手动开闸&&获取道闸状态接口中获取 */
	@NotNull
	private String channelId;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getChannelId() {
		return channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	@Override
	public String requestUrl() {
		return "/v2/car/scanqrcode/scancodesinout/parkid";
	}

	@Override
	public RequestMethod getRequestMethod() {
		return RequestMethod.POST;
	}

	@Override
	protected void checkConstraints() throws SystemException {

	}
}
